package com.ruoyi.cbfa.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参保方案对象 insurance_plan
 * 
 * @author ruoyi
 * @date 2025-05-29
 */
public class InsurancePlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参保方案ID，主键 */
    private Long id;

    /** 参保方案名称 */
    @Excel(name = "参保方案名称")
    private String name;

    /** 参保城市 */
    @Excel(name = "参保城市")
    private String city;

    /** 社保类别ID，关联方案类别表 */
    @Excel(name = "社保类别ID，关联方案类别表")
    private Long categoryShebaoId;

    /** 公积金类别ID，关联方案类别表 */
    @Excel(name = "公积金类别ID，关联方案类别表")
    private Long categoryGjjId;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private Long delFlag;
    @Excel(name = "社保类别名称")
    private String categoryShebaoName;

    /** 公积金类别名称 */
    @Excel(name = "公积金类别名称")
    private String categoryGjjName;

    /** 记录创建时间 */
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setCategoryShebaoId(Long categoryShebaoId) 
    {
        this.categoryShebaoId = categoryShebaoId;
    }

    public Long getCategoryShebaoId() 
    {
        return categoryShebaoId;
    }

    public void setCategoryGjjId(Long categoryGjjId) 
    {
        this.categoryGjjId = categoryGjjId;
    }

    public Long getCategoryGjjId() 
    {
        return categoryGjjId;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }
    public String getCategoryShebaoName() {
        return categoryShebaoName;
    }

    public void setCategoryShebaoName(String categoryShebaoName) {
        this.categoryShebaoName = categoryShebaoName;
    }

    public String getCategoryGjjName() {
        return categoryGjjName;
    }

    public void setCategoryGjjName(String categoryGjjName) {
        this.categoryGjjName = categoryGjjName;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("city", getCity())
            .append("categoryShebaoId", getCategoryShebaoId())
            .append("categoryGjjId", getCategoryGjjId())
                .append("categoryShebaoName", getCategoryShebaoName())
                .append("categoryGjjName", getCategoryGjjName())
            .append("delFlag", getDelFlag())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
